package br.edu.udc.JMonster.view.model
{	
	import com.adobe.cairngorm.model.IModelLocator;
	import com.adobe.cairngorm.vo.IValueObject;
	
	import mx.collections.IList;
	
	/**
	 * 2008 - ApolloTi Desenvolvimento de Software LTDA. 
	 * Todos os direitos reservados.
	 * 
	 * @author Rodrigo P. Fraga
	 * @email rodrigo@apollo-ti.com
	 * @since 16/04/2008
	 * @version 1.0
	 * @category ModelLocator
	 */		
	[Bindable]
	public class AbstractModelLocator implements IModelLocator
	{	
		/*-------------------------------------------------------------------
	 	* 		 					ATTRIBUTES
	 	*-------------------------------------------------------------------*/
	 	public var list:IList;
	 	public var entity:IValueObject;
	 	
	 	public var currentState:String = "";
	 	public static const PESQUISA_STATE:String = "";
	 	public static const EDICAO_STATE:String = "edicaoState";
	 	public static const SELECAO_STATE:String = "selecaoState";
	 	public static const REMOVER_STATE:String = "removerState";
	 	
	 	public var status:String;
		
		/*-------------------------------------------------------------------
	 	* 		 					BEHAVIORS
	 	*-------------------------------------------------------------------*/	
	}
}
//SINGLETON ENFORCER!
class SingletonEnforcer {}